<?php 
	require_once  __DIR__."/twig/vendor/autoload.php";

	function createTwigView(){
		$loader = new Twig_Loader_Filesystem(__DIR__.'/twigtmpl');
		$twig = new Twig_Environment($loader, array(
			"cache"=>__DIR__.'/twigtmpl/cache'
			));

		echo $twig->render('twig.html', array("name"=>"sdasdads"));

	};

?>